﻿body {
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
    font-size: 14px;
    /* 
                background-color:green;
            */
}

.ui-widget-content {
    border: none;
}

table tr {
    background-color: none;
    border: none;
}

div.panel-body {
    overflow: scroll;
    background: url('http://subtlepatterns.com/patterns/geometry2.png');
}

.btnsend, .topp {
    background-color: lightblue;
    text-decoration-color: white;
}

.bottomright {
    position: absolute;
    bottom: 8px;
    right: 16px;
    font-size: 65px;
    color: blue;
    margin-right: 50px;
}



.login11 {
    width: 250px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    top: 30%;
    position: absolute;
    color: #1e4638;
}



.hid {
    display: none;
}

.submitButton {
    background-color: #d7e5e4;
    padding: 4px;
    cursor: pointer;
}

    .submitButton:hover {
        background-color: #e1e1e1;
    }

.login1 .textBox {
    width: 240px;
}


.login1 #divButton {
    padding: 4px;
    text-align: right;
}



.disconnect {
    position: absolute;
    margin: 10px;
    background-color: #ffcbcb;
    padding: 4px;
    border: solid 1px red;
}


.draggable {
    position: absolute;
}






button {
    color: inherit;
    background-color: transparent;
    border: 0;
    outline: 0 !important;
    cursor: pointer;
}

    button.chatbox-open {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 52px;
        height: 52px;
        color: #fff;
        background-color: #0360a5;
        background-position: center center;
        background-repeat: no-repeat;
        box-shadow: 12px 15px 20px 0 rgba(46, 61, 73, 0.15);
        border: 0;
        border-radius: 50%;
        cursor: pointer;
        margin: 16px;
    }

    button.chatbox-close, .chatbox-close1 {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 52px;
        height: 52px;
        color: #fff;
        background-color: #0360a5;
        background-position: center center;
        background-repeat: no-repeat;
        box-shadow: 12px 15px 20px 0 rgba(46, 61, 73, 0.15);
        border: 0;
        border-radius: 50%;
        cursor: pointer;
        display: none;
        margin: 16px calc(2 * 16px + 52px) 16px 16px;
    }

    button.chatbox-End, .chatbox-End1 {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 52px;
        height: 52px;
        color: #fff;
        background-color: #0360a5;
        background-position: center center;
        background-repeat: no-repeat;
        box-shadow: 12px 15px 20px 0 rgba(46, 61, 73, 0.15);
        border: 0;
        border-radius: 50%;
        cursor: pointer;
        display: none;
        margin: 16px calc(2 * 16px + 120px) 16px 16px;
    }


h1 {
    margin: 0;
    font-size: 16px;
    line-height: 1;
    font-family: Arial, Helvetica, sans-serif;
}

.textarea1, .inputt {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    height: calc(16px + 16px / 2);
    padding: 0 calc(16px / 2);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: calc(16px + 16px / 2);
    color: #888;
    background-color: none;
    border: 0;
    outline: 0 !important;
    resize: none;
    overflow: hidden;
}

    .textarea1::-webkit-input-placeholder {
        color: #888;
    }

    .inputt::-webkit-input-placeholder {
        color: #888;
    }

.chatbox-popup {
    display: flex;
    position: fixed;
    box-shadow: 5px 5px 25px 0 rgba(46, 61, 73, 0.2);
    flex-direction: column;
    display: none;
    bottom: calc(2 * 16px + 52px);
    right: 16px;
    width: 377px;
    height: 425px;
    background-color: #fff;
    border-radius: 16px;
}

.chatbox-popup1 {
    display: flex;
    position: fixed;
    box-shadow: 5px 5px 25px 0 rgba(46, 61, 73, 0.2);
    flex-direction: column;
    display: none;
    bottom: calc(2 * 16px + 52px);
    right: 16px;
    width: 377px;
    height: 425px;
    background-color: #fff;
    border-radius: 16px;
}

.chatbox-popup .chatbox-popup__header {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    padding: 16px;
    color: #fff;
    background-color: #0360a5;
    align-items: center;
    justify-content: space-around;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}

.chatbox-popup1 .chatbox-popup__header {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    padding: 16px;
    color: #fff;
    background-color: #0360a5;
    align-items: center;
    justify-content: space-around;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}

.chatbox-popup .chatbox-popup__header .chatbox-popup__avatar {
    margin-top: -32px;
    background-color: #0360a5;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.chatbox-popup1 .chatbox-popup__header .chatbox-popup__avatar {
    margin-top: -32px;
    background-color: #0360a5;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}
.user{
    color:black;
}


.chatbox-popup .chatbox-popup__main {
    box-sizing: border-box;
    scrollbar-highlight-color: #0360a5;
    width: 100%;
    padding: calc(2 * 16px) 16px;
    line-height: calc(16px + 16px / 2);
    color: black;
    text-align: center;
    overflow: auto;
    cursor: pointer;
}
.mainwindow {
    height: 300px;
}

.chatbox-popup1 .chatbox-popup__main {
    box-sizing: border-box;
    scrollbar-highlight-color: #0360a5;
    width: 100%;
    padding: calc(2 * 16px) 16px;
    line-height: calc(16px + 16px / 2);
    color: #888;
    text-align: center;
    overflow: auto;
    cursor: pointer;
}


.chatbox-popup .chatbox-popup__footer {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    height: 50px;
    padding: 16px;
    border-top: 1px solid #ddd;
    align-items: center;
    justify-content: space-around;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}

.chatbox-popup1 .chatbox-popup__footer {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    height: 50px;
    padding: 16px;
    border-top: 1px solid #ddd;
    align-items: center;
    justify-content: space-around;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}

.eMail:hover {
    width: 100%;
    padding: 8px 10px 8px 10px;
    margin: 2px 0 5px 0;
    display: inline;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius: 6px;
    resize: vertical;
    background: white;
    font-size: 11px;
    text-transform: uppercase;
}
.text:hover {
    width: 100%;
    padding: 8px 10px 8px 10px;
    margin: 2px 0 5px 0;
    display: inline;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius: 6px;
    resize: vertical;
    background: white;
    font-size: 11px;
    text-transform: uppercase;
}

.Agentfreebutton {
    color: white;
    border-radius: 4px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    background: rgb(66, 184, 221);
    float:right;
}



.sender_message {
    border: thin;
    border-width: 0.5px;
    background-color: #DC143C;
    border-radius: 10px;
    color: white;
    padding: 5px;
    word-wrap: break-word;
    margin-top: 10px;
    margin-bottom: 10px;
    max-width: 80%;
    float: right;
    margin-right: 10px;
}

.reciver_message {
    border: thin;
    border-width: 0.5px;
    background-color: #00BFFF;
    border-radius: 10px;
    color: white;
    padding: 5px;
    word-wrap: break-word;
    max-width: 80%;
    margin-top: 10px;
    margin-bottom: 10px;
    float: left;
    margin-left: 10px;
}





.tooltipchat {
    position: relative;
    display: inline-block;
}

    .tooltipchat .tooltiptextchat {
        visibility: hidden;
        width: 90px;
        background-color: grey;
        color: #fff;
        font-size: 12px;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        /* Position the tooltip */
        position: absolute;
        z-index: 1;
        top: -5px;
        left: 150%;
    }

    .tooltipchat:hover .tooltiptextchat {
        visibility: visible;
        opacity: 1;
    }

    .tooltipchat:hover:after {
        background: grey;
        border-radius: 5px;
        top: -3px;
        color: #fff;
        content: attr(alt);
        right: 50px;
        padding: 5px 15px;
        position: absolute;
        z-index: 60;
        width: 50px;
        opacity: 1;
        font-size: 14px;
    }
